package com._51cto.healthy.mapper;

import com._51cto.healthy.base.BaseMapper;
import com._51cto.healthy.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/****
 * @Author:DancingHorse
 * @Description:TOrdersettingMapper层
 * @Date 2022/4/14 0:12
 *****/
public interface OrderSettingMapper extends BaseMapper<OrderSetting> {
    //获取全部数据
    List<OrderSetting> queryByUserId(@Param("userId") Integer id);

    List<String> queryDateStringByDoctor(@Param("doctor") Integer doctor);


    int  updateByUserIdAndDate(@Param("doctor")Integer doctor, @Param("orderDate")Date orderDate);
}
